#pragma once

#include <Plugin.h>
#include <string>

class PluginBrowser : Plugin
{
public:
	PluginBrowser();
	virtual ~PluginBrowser();

	// initialize plugin
	virtual int Init();

	// shutdown plugin
	virtual int Shutdown();

	void OpenUrl(std::string url);
};

extern "C" __declspec(dllexport) void *CreatePlugin()
{
	return new PluginBrowser();
}

extern "C" __declspec(dllexport) void ReleasePlugin(void *plugin)
{
	delete static_cast<PluginBrowser*>(plugin);
}